home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-11-30 | 1.1 KB | 27 lines | [TEXT/KAHL] |
- Expander Sample
- ---------------
-
- This project contains all of the source for the Expander class. This demo
- displays a hierarchical list of elements; level exposure is controlled
- via toggle buttons on the left side of each line.
-
- Update Info
- -----------
-
- This latest release has some changes to CExpanderLabel. It no longer works with Str255 data for
- its storage; instead, it expects to have a 'STR ' resource handle to display. As a result, the
- old API's for setting a label's text are no longer supported. You can create your own type of
- label pane and install it by overriding CExpander's MakeExpanderLabel() method. NOTE: to do so
- you will also have to call IExpander() sometime after creating the CExpander object. This works
- much like the classes in TCL, and was the only way I could think of to do it.
-
- Removing Str255 storage reduces memory usage, especially since labels are rarely longer than 20 - 30
- characters. Sorry for the inconvenience.
-
- I also removed CExpanderHeader class. It never really did anything anyway...
-
-
- Brad Howes
- B-Ray Software
- CompuServ 73767,1510
-